//
//  Type.m
//  LiWuShuo
//
//  Created by 袁小航 on 14/11/14.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "Type.h"
#import "Define.h"

@implementation Type

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
//        创建typeTableView
        [self createTypeTableView];
        
    }
    return self;
}

#pragma mark - 创建typeTableView
- (void)createTypeTableView
{
    self.typeTableView = [[UITableView alloc]initWithFrame:CGRectMake(0, 0, MAINVIEW_WIDTH, MAINVIEW_HEIGHT - 49) style:UITableViewStylePlain];
    
    [self addSubview:_typeTableView];
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
